package com.huaguoguo.admin.service;

import com.huaguoguo.pojo.TbUser;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * description: 用户服务类
 * author:huaguoguo
 * Date: 2019/1/25
 * Time: 18:55
 */
@FeignClient(value = "huaguoguo-store-serivce-admin")
public interface UserService {

    @RequestMapping(value = "user",method = RequestMethod.GET)
    TbUser getUserInfo();
}
